<script setup>
import { useCounterStore } from '@/store/counter';
const CounterStore = useCounterStore()
</script>

<template>
  <div>
    <h3>son1 -- 
        {{ CounterStore.count }} -- {{ CounterStore.double }}
        <button @click="CounterStore.addCount">+</button>
    </h3>
  </div>
</template>

<style scoped>

</style>